<%-- 
    Document   : index
    Created on : 22 nov. 2011, 17:46:51
    Author     : Jissay
--%>

<%@page import="java.util.ArrayList"%>
<%@page import="com.musiqueFaces.model.Song"%>
<%@page import="com.musiqueFaces.model.Artist"%>
<%@page import="com.musiqueFaces.data.DataFiller"%>
<%@page contentType="text/html" pageEncoding="ISO-8859-15"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            DataFiller df = new DataFiller();

            int repOk = df.updateSong(1, "Envole toi", "blablabla");
            int repNotExist = df.updateSong(226, "Pierre", "Jacques");
        %>
        <h1>Hello World !</h1>

        <p>
            OK : <%= repOk%><br/>
            NE : <%= repNotExist%>
        </p>
    </body>
</html>
